Skip to content

Support multiple substrate URLs#1028

Merged
sameh-farouk merged 4 commits into
developmentfrom
development-support-multiple-substrate-urls
Jun 1, 2026
Merged

Support multiple substrate URLs#1028
sameh-farouk merged 4 commits into
developmentfrom
development-support-multiple-substrate-urls

Conversation

@sameh-farouk
Copy link
Copy Markdown
Member

@sameh-farouk sameh-farouk commented Jan 22, 2025

Description

Add support for configure the bridge with multiple substrate URLs for redundancy

Related Issues:

#1027

Checklist:

Please delete options that are not relevant.

  • My change requires a change to the documentation and I have updated it accordingly
  • My commits follow this conventional commits guide.

Closes #1027

@sameh-farouk sameh-farouk requested a review from LeeSmet as a code owner January 22, 2025 11:14
@AhmedHanafy725
Copy link
Copy Markdown

The naming is confusing; the variable is still called url, but it's an array. I suggest updating it to urls

Rename TfchainURL to TfchainURLs, Tfchain_url to Tfchain_urls, and
url parameter to urls throughout the bridge code and docs to reflect
that the field is now a string slice, not a single string.

Addresses review feedback on #1028.
@codacy-production
Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 29 complexity · 0 duplication

Metric Results
Complexity 29
Duplication 0

View in Codacy

TIP This summary will be updated as you push new changes. Give us feedback

@sameh-farouk
Copy link
Copy Markdown
Member Author

The naming is confusing; the variable is still called url, but it's an array. I suggest updating it to urls

Done

sameh-farouk and others added 2 commits June 2, 2026 02:22
Merging development surfaced a semantic conflict: development added a
required-params validation block referencing bridgeCfg.TfchainURL after
this branch renamed the field to TfchainURLs ([]string). Update the check
to len(bridgeCfg.TfchainURLs) == 0 so the bridge still builds and the
"tfchainurl" param is reported missing when no URL is supplied.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@sameh-farouk sameh-farouk merged commit 9dac2ed into development Jun 1, 2026
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bridge] Add support for configure the bridge with multiple substrate URLs for redundancy

2 participants